/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pt.our.angemc.datatypes;

/**
 *
 * @author luis
 */
public class Variable {
    private String type;
    private String name;

    public Variable(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }

    @Override
    public Variable clone()
    {
        return new Variable(this.getType(),this.getName());
    }

    @Override
    public String toString()
    {
        StringBuffer sb = new StringBuffer();

        sb.append(this.getType() + " " + this.getName());

        return sb.toString();
    }

}
